import { createApp } from 'vue'
import App from './App.vue'
import router from '../src/router/index'
import './assets/common.css'  //导入公共样式
import './assets/iconfont.css'
import ElementPlus from 'element-plus'
import 'element-plus/dist/index.css'
import { createPinia } from 'pinia'
import piniaPluginPersist from 'pinia-plugin-persist';
import elTableInfiniteScroll from 'el-table-infinite-scroll';
import './rem' 

const pinia = createPinia()
pinia.use(piniaPluginPersist);
const app = createApp(App)
app.use(router)
app.use(pinia)
app.use(ElementPlus)
app.use(elTableInfiniteScroll);
app.config.warnHandler = () => null;
app.mount('#app')